<extend name="Public/base"/>

<block name="body">
    <script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
    <div class="main-title">
        <h2>商家详情</h2>
    </div>
    <div class="tab-wrap">
        <ul class="tab-nav nav">
            <li data-tab="tab1" class="current"><a href="javascript:void(0);">基 础</a></li>
        </ul>
        <div class="tab-content">
            <form action="__SELF__" method="post" class="form-horizontal" autocomplete="off">
                <div id="tab1" class="tab-pane in tab1">
                    <div class="form-item">
                        <label class="item-label">店铺名称</label>
                        <div class="controls">
                            <input type="text" class="text input-large" name="title" value="{$info.title}">
                        </div>
                    </div>
                    <div class="form-item">
                        <label class="item-label">所属会员</label>
                        <div class="controls">
                            {$info.nickname}
                            <!--<input type="text" class="text input-large" value="{$info.uid|get_username}" disabled="disabled">-->
                        </div>
                    </div>
                    <div class="form-item">
                        <label class="item-label">店铺介绍</label>
                        <div class="controls">
                            {$info.description}
                            <!--<input type="text" class="text input-large" value="{$info.uid|get_username}" disabled="disabled">-->
                        </div>
                    </div>

                    <div class="form-item">
                        <label class="item-label">店铺头像</label>
                        <div class="controls">
                            <img src="{$info.headpic}" width="50px">
                            <!--<input type="text" class="text input-large" value="{$info.uid|get_username}" disabled="disabled">-->
                        </div>
                    </div>


                    <div class="form-item">
                        <label class="item-label">店铺招牌</label>
                        <div class="controls">
                            <img src="{$info.signpic}" width="50px">
                            <!--<input type="text" class="text input-large" value="{$info.uid|get_username}" disabled="disabled">-->
                        </div>
                    </div>

                    <div class="form-item">
                        <label class="item-label">商家积分</label>
                        <div class="controls">
                            <input type="text" class="text input-large" name="score" value="{$info.score}">
                        </div>
                    </div>
                    <div class="form-item">
                        <label class="item-label">已送积分</label>
                        <div class="controls">
                            <input type="text" class="text input-large" name="give_score" value="{$info.give_score}">
                        </div>
                    </div>
                    <div class="form-item">
                        <label class="item-label">回收积分</label>
                        <div class="controls">
                            <input type="text" class="text input-large" name="recover_score" value="{$info.recover_score}">
                        </div>
                    </div>
                </div>

                <div class="form-item">

                    <button class="btn submit-btn ajax-post hidden" id="submit" type="submit" target-form="form-horizontal">确 定</button>
                    <input type="hidden" name="id" value="{$info.id}">
                </div>
            </form>
        </div>
    </div>
</block>

<block name="script">
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('shop/manage')}');
        showTab();
    </script>
</block>